<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ page language="java" import="java.sql.*, java.io.*, java.util.*, database.*" %>
<jsp:useBean id="con" class="database.DatabaseConnection"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Audit redesign plan list</title>
<style type="text/css">
<!--
body {
	background-image: url(../image/3110_background/backcolor3.jpg);
	background-repeat: repeat;
}
.STYLE1 {font-size: 18px}
-->
</style></head>

<body>
<form id="form1" name="form1" method="post" action="">
  <table width="747" border="1" align="center">
    <tr>
      <td colspan="5" align="center" valign="middle" nowrap="nowrap"><span class="STYLE1">Audit Redesign Plan List</span></td>
    </tr>
    <tr>
      <td width="129" align="center" valign="middle" nowrap="nowrap">ID</td>
      <td width="186" align="center" valign="middle" nowrap="nowrap">UserName</td>
      <td width="261" align="center" valign="middle" nowrap="nowrap">Parameter</td>
      <td colspan="2" align="center" valign="middle" nowrap="nowrap">Action</td>
    </tr>
   <%
        con.createConnection();
        ResultSet rs = con.getUser_Car_Information();
        String User_Car_Information_ID = null;
        String User_Car_Information_UserName = null;
        String User_Car_Information_Parameter_ID = null;

                    for (int j = 0; j < 8; j++) {
                        if (rs.next()) {
                            User_Car_Information_ID = rs.getString("User_Car_Information_ID");
                            User_Car_Information_UserName = rs.getString("User_Car_Information_UserName");
                            User_Car_Information_Parameter_ID = rs.getString("User_Car_Information_Parameter_ID");
                    %>
                    <tr align="left" valign="top">
                    <td align="center" valign="middle"><%=User_Car_Information_ID%></td>
                    <td align="center" valign="middle"><%=User_Car_Information_UserName%></td>
                    <td align="center" valign="middle"><%=User_Car_Information_Parameter_ID%></td>
                    <td colspan="2" align="center" valign="middle"><input type="button" value="Choose" target="mainFrame" onClick="window.location.href='Audit Plan.jsp'"></td>
                    </tr>
                    <%
                        }
                    }
                    %>
    <tr>
      <td colspan="3" align="center" valign="middle" nowrap="nowrap">&nbsp;</td>
      <td width="70" align="center" valign="middle" nowrap="nowrap">Back</td>
      <td width="67" align="center" valign="middle" nowrap="nowrap">Next</td>
    </tr>
  </table>
</form>
</body>
</html>
